#ifndef _USER_H_
#define _USER_H_
#include <string>

class User
{
protected:
    int id = -1;
    std::string name = "";
    std::string password = "";
    std::string state = "offline";
public:
    User() = default;
    ~User() = default;
    User(int id, std::string name, std::string password, std::string state = "offline");
    User(const User& user) = default;
    int getId() const;
    std::string getName() const;
    std::string getPassword() const;
    std::string getState() const;

    void setId(int id);
    void setState(std::string state);
    void setPassword(std::string password);
    void setName(std::string name);
    
};




#endif // _USER_H_